home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Nave / Cosmic Defender.swf / scripts / DefineButton2_290 / BUTTONCONDACTION on(press).as
Encoding:
Text File  |  2006-06-13  |  597 b   |  23 lines

  1. on(press){
  2.    _root.paused = true;
  3.    s = 1;
  4.    while(s < 16)
  5.    {
  6.       this.compile_stop = eval("_root.comp_" + s).stop();
  7.       s++;
  8.    }
  9.    s = 0;
  10.    while(s < 20)
  11.    {
  12.       this.ship_stop = eval("_root.ship_" + s).stop();
  13.       this.shot_stop = eval("_root.shot_" + s).stop();
  14.       this.man_stop = eval("_root.man_" + s).stop();
  15.       this.bang_stop = eval("_root.b_" + s).stop();
  16.       this.mine_stop = eval("_root.mine_" + s).stop();
  17.       s++;
  18.    }
  19.    _root.attachMovie("pause_clip","pause_clip",9999);
  20.    _root.pause_clip._x = 275;
  21.    _root.pause_clip._y = 200;
  22. }
  23.